//
//  CNnameCell.m
//  BeeQuick_19
//
//  Created by 张旭峰 on 16/9/23.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNnameCell.h"
@interface CNnameCell()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *marketPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *brand_nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *specificsLabel;

@end
@implementation CNnameCell
-(void)setModel:(CNdetailsModel *)model
{
    _model = model;
    //    NSLog(@"%@",_model);
    self.nameLabel.text = model.name;
    
    self.priceLabel.text = [NSString stringWithFormat:@"¥%.2f",model.price];
    
    self.marketPriceLabel.text = [NSString stringWithFormat:@"¥%.2f",model.market_price];
    
    self.brand_nameLabel.text = model.brand_name;
    
    self.specificsLabel.text = model.specifics;
    
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
